package com.audaque.springboot.foshanupload.reactor.webfluxdemo.repository;


import com.audaque.springboot.foshanupload.reactor.webfluxdemo.model.pojo.MusicDetail;
import org.springframework.data.mongodb.repository.ReactiveMongoRepository;
import reactor.core.publisher.Mono;

/**
 * @author zgb
 * @desc ...
 * @date 2023-07-23 02:19:08
 */
public interface MusicDetailRepository extends ReactiveMongoRepository<MusicDetail, String> {

    //通过作者和歌名查询
    Mono<MusicDetail> findByMusicNameAndAuthor(String musicName, String author);

}
